home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ CD AutoStart Options.xpl < prev    next >
Text File  |  2003-08-01  |  1KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\AutoPlay\Audio CDs"
  5. "NAME"="AutoPlay Audio CDs"
  6. "VERSION"="1.41"
  7. "OSVERSION"="11111"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Play audio CD-ROMs automatically"
  10. "DESCRIPTION 1"="If you normally insert a CD in your CD-ROM-drive, it starts playing the CD using the CD Player (AutoPlay)."
  11. "DESCRIPTION 2"="If you do not like this behavior, you can change it here."
  12. "DESCRIPTION 3"="Note that this option requires "Auto-Insert Notification" for your CD-ROM-drive enabled."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 2"="Thanks to totalXS for his help!"
  17.  
  18.  
  19. Sub Plugin_Initialize 
  20.  s=RegReadValue("HKLM\Software\Classes\AudioCD\Shell\@")
  21.  if s="play" then SetUIElement 1,true
  22. End Sub
  23.  
  24. Sub Plugin_CheckData(ElementIndex)
  25. End Sub
  26.  
  27. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  28.  b=GetUIElement(1)
  29.  if b=true then
  30.   Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","play",1)
  31.  else
  32.   Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","",1)
  33.  end if
  34.  
  35.  'Restart
  36.  Call IndicateSettingChange()
  37. End Sub
  38.  
  39.  
  40. Sub Plugin_Terminate 
  41. End Sub
  42.  
  43.  
  44.  
  45.